<script>
export default {
  name: "r"
}
</script>

<template>
  <h1>大家速度</h1>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="date" label="日期" width="180" />
    <el-table-column prop="name" label="姓名" width="180" />
    <el-table-column prop="address" label="地址" />
  </el-table>
  <hr>
    <el-table :data="arr" style="width: 600px; margin:0 auto;">
      <el-table-column label="id" type="编号" width="index" />
      <el-table-column label="name" prop="姓名" align="center"/>
      <el-table-column label="salary" prop="工资" align="center" />
      <el-table-column label="job" prop="岗位"  align="center"/>
    </el-table>

</template>

<script setup>
import {ref} from "vue";
const tableData = [
  {
    date: '2016-05-03',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-02',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-04',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-01',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
]
</script>

<style scoped>
</style>